#!/bin/bash
if [ $# -ne 1 ]
   then
    echo $"usage: $0 website directory"

elif [ -d $1 ]
   then
    find $1 -type f | xargs md5sum > /opt/zhiwen.db.ori
    find $1 -type f > /opt/wenjian.db.ori

else
   echo "please check argument,must be directory and be exist"

fi 

